package com.guodi.map.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @描述：地图图层元数据表
 * @作者: 代鹏刚
 * @日期: 2019-12-27
 */
@Data
@ApiModel(value="地图图层元数据表")
public class ApiMapMetadata implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "数据名称不能为空")
    @ApiModelProperty(value = "数据名称", required = true)
    private String dataName;

    @ApiModelProperty(value = "数据编码")
    private String dataCode;

    @ApiModelProperty(value = "数据来源")
    private String dataSource;

    @ApiModelProperty(value = "数据版本")
    private String dataVersion;

    @ApiModelProperty(value = "更新频率")
    private String updateFrequency;

    @ApiModelProperty(value = "采集路径")
    private String collectWay;

    @ApiModelProperty(value = "单位名称")
    private String companyName;

    @ApiModelProperty(value = "单位电话")
    private String companyPhone;

    @ApiModelProperty(value = "单位地址")
    private String companyAddress;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "数据年份")
    private String dataYear;

    @NotBlank(message = "图层ID不能为空")
    @ApiModelProperty(value = "图层ID", required = true)
    private String layerId;
}
